![]() |
YNQ
YNQ-1.6.0
|
Functions | |
| void | cmDnsSetServersA (const NQ_CHAR *servers) |
| void | cmDnsSetServers (const NQ_WCHAR *servers) |
| NQ_IPADDRESS * | cmDnsGetServer (NQ_COUNT dnsID) |
| NQ_COUNT | cmDnsGetNumDnsServers (void) |
| void | cmNetBiosSetWinsA (const NQ_CHAR *servers) |
| void | cmNetBiosSetWins (const NQ_WCHAR *servers) |
| NQ_IPADDRESS4 | cmNetBiosGetWins (NQ_COUNT winsID) |
| NQ_COUNT | cmNetBiosGetNumWinsServers (void) |
| NQ_STATUS | cmDnsSetDomainA (const NQ_CHAR *domainName) |
| NQ_STATUS | cmDnsSetDomain (const NQ_WCHAR *domainName) |
| void cmDnsSetServersA | ( | const NQ_CHAR * | servers | ) |
After startup NQ uses the list of DNS servers as defined in the NQ configuration. By calling this function application replaces the initial list with a new one.
| servers | Pointer to the new list of DNS servers. This list is a string of IP addresses, delimited by a semicolon. Each address may have a form of IPv4 or IPv6 address. This pointer can be NULL. In this case NQ will not query DNS servers. |
| void cmDnsSetServers | ( | const NQ_WCHAR * | servers | ) |
After startup NQ uses the list of DNS servers as defined in the NQ configuration. By calling this function application replaces the initial list with a new one.
| servers | Pointer to the new list of DNS servers. This list is a string of IP addresses, delimited by a semicolon. Each address may have a form of IPv4 or IPv6 address. This pointer can be NULL. In this case NQ will not query DNS servers. |
| NQ_IPADDRESS* cmDnsGetServer | ( | NQ_COUNT | dnsID | ) |
After startup NQ uses the DNS servers as defined in the NQ configuration or by calling cmDnsSetServersA() or cmDnsSetServers(). By calling this function with a specific DNS index application returns the specific DNS address.
| dnsID | DNS server index. |
| NQ_COUNT cmDnsGetNumDnsServers | ( | void | ) |
After startup NQ uses the DNS servers as defined in the NQ configuration or by calling cmDnsSetServersA() or cmDnsSetServers(). By calling this function application returns the number of current defined DNS addresses.
| void cmNetBiosSetWinsA | ( | const NQ_CHAR * | servers | ) |
After startup NQ uses the WINS IP as defined in the NQ configuration. By calling this function application replaces the initial WINS with a list of new ones.
| servers | Pointer to the list of new WINS servers. This list is a string of IP addresses, delimited by a semicolon. Each address should have a form of IPv4 address. This pointer can be NULL, in this case NQ will not query WINS. |
| void cmNetBiosSetWins | ( | const NQ_WCHAR * | servers | ) |
After startup NQ uses the WINS IP as defined in the NQ configuration. By calling this function application replaces the initial WINS with a list of new ones.
| servers | Pointer to the list of new WINS servers. This list is a string of IP addresses, delimited by a semicolon. Each address should have a form of IPv4 address. This pointer can be NULL, in this case NQ will not query WINS. |
| NQ_IPADDRESS4 cmNetBiosGetWins | ( | NQ_COUNT | winsID | ) |
After startup NQ uses the WINS servers as defined in the NQ configuration or by calling cmNetBiosSetWinsA() or cmNetBiosSetWins(). By calling this function with a specific WINS index application returns the specific WINS address.
| winsID | WINS server index. |
| NQ_COUNT cmNetBiosGetNumWinsServers | ( | void | ) |
After startup NQ uses the WINS servers as defined in the NQ configuration or by calling cmNetBiosSetWinsA() or cmNetBiosSetWins(). By calling this function application returns the number of current defined WINS addresses.
After startup NQ uses the domain name as defined in the NQ configuration. By calling this function application replaces the initial domain name with a new ones. This name becomes available for subsequent operations.
| domainName | New domain name. It should contain more than one symbol and it should not be longer than UD_NQ_HOSTNAMESIZE |
After startup NQ uses the domain name as defined in the NQ configuration. By calling this function application replaces the initial domain name with a new ones.
This name becomes available for subsequent operations.
| domainName | New domain name. It should contain more than one symbol and it should not be longer than UD_NQ_HOSTNAMESIZE |